package com.huitone.gddw.dao.analysis;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.huitone.gddw.dao.entity.SmCallTest;
import com.huitone.gddw.service.dto.analysis.SmCallTestDTO;

public interface ISmCallTestDao {
	
	List<SmCallTest> selectPage(Map<String, Object> map);
	
	int selectCount(Map<String, Object> map);
	
	int insert(SmCallTest smCallTest);
	
	int deleteByPrimaryKey(String recId);
	
	int updateByPrimaryKey(SmCallTest smCallTest);
	
	SmCallTest selectByPrimaryKey(String recId);
	
	List<SmCallTest> selectCallTest(@Param(value="gateLinkId") String gateLinkId, @Param(value="testPhone") String testPhone);
	
	/**
	 * 根据查询参数，返回记录
	 * @param map
	 * @return
	 */
    List<SmCallTestDTO> getRecord(Map<String,Object> map);

}
